package cn.kgc.mushroomcommon.pojo;

import java.util.List;

public class Commodity {
    private Integer id;

    private String commname;

    private Integer count;

    private Double price;

    private String headpic;

    @Override
    public String toString() {
        return "Commodity{" +
                "id=" + id +
                ", commname='" + commname + '\'' +
                ", count=" + count +
                ", price=" + price +
                ", headpic='" + headpic + '\'' +
                ", content='" + content + '\'' +
                ", commdetails=" + commdetails +
                ", commtype=" + commtype +
                ", size=" + size +
                ", color=" + color +
                ", shopcomm=" + shopcomm +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCommname() {
        return commname;
    }

    public void setCommname(String commname) {
        this.commname = commname;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public String getHeadpic() {
        return headpic;
    }

    public void setHeadpic(String headpic) {
        this.headpic = headpic;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public List<Commdetail> getCommdetails() {
        return commdetails;
    }

    public void setCommdetails(List<Commdetail> commdetails) {
        this.commdetails = commdetails;
    }

    public Commtype getCommtype() {
        return commtype;
    }

    public void setCommtype(Commtype commtype) {
        this.commtype = commtype;
    }

    public Size getSize() {
        return size;
    }

    public void setSize(Size size) {
        this.size = size;
    }

    public Color getColor() {
        return color;
    }

    public void setColor(Color color) {
        this.color = color;
    }

    private String content;

    List<Commdetail> commdetails;

    private Commtype commtype;
    private Size size;

    private Color color;



    private Shopcomm shopcomm;

    public Shopcomm getShopcomm() {
        return shopcomm;
    }

    public void setShopcomm(Shopcomm shopcomm) {
        this.shopcomm = shopcomm;
    }


}